﻿<!DOCTYPE HTML>
<html>
{include file="public:header_css"}
<body>
<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 系统管理 <span class="c-gray en">&gt;</span> 系统日志
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="page-container">
    <div class="cl pd-5 bg-1 bk-gray mt-20">
        <span class="r">共有数据：<strong>{$total}</strong> 条</span>
	</div>

	<div class="mt-20">
		<table class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
				<tr class="text-c">
					<!-- <th width="40"><input name="" type="checkbox" value=""></th> -->
					<th width="40">ID</th>
					<th width="80">操作人</th>
					<th width="200">控制器</th>
					<th width="60">动作</th>
					<th width="110">IP</th>
					<th width="130">时间</th>
					<th width="50">操作</th>
					<th>备注</th>
				</tr>
			</thead>
			<tbody>
				{foreach name="list" item="v" key="k"}
					<tr class="text-c">
						<td>{$v.id}</td>
						<td>{$v.admin_name}</td>
						<td class="text-l">{$v.route}</td>
						<td class="text-c">{$v.act}</td>
						<td class="text-c">{$v.ip}</td>
						<td class="text-c">{$v.create_time}</td>
						<td class="td-status">
							<span class="label label-success radius" onclick="show_info('日志详情','{$v.id}','600','400')" href="javascript:;">详情</span>
						</td>
						<td class="text-l">{$v.note}</td>
					</tr>
				{/foreach}
			</tbody>
		</table>
	</div>

	{$page}

</div>

{include file="public:footer_js"}

<script type="text/javascript" src="__STATIC__/admin/lib/layer/2.4/layer.js"></script>

<script type="text/javascript">

    /*
        参数解释：
        title	标题
        id		需要操作的数据id
        w		弹出层宽度（缺省调默认值）
        h		弹出层高度（缺省调默认值）
    */
    /*管理员-增加*/
    function show_info(title,id,w,h){
        var url = "{:url('info')}?id="+id;
        layer_show(title,url,w,h);
    }

</script>
</body>
</html>